package com.dbh.design.proxy.jdk;

/**
 * 目标类
 * @author dongbanghui
 * @create 2023/4/9
 */
public class Target implements Foo {

    /**
     * 目标接口方法
     */
    @Override
    public void foo() {
        System.out.println("target foo");
    }

    /**
     *
     */
    @Override
    public int bar() {
        System.out.println("target bar");
        return 100;
    }
}
